<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>HG CMS</title>
<link rel="stylesheet" type="text/css" href="http://localhost/0423/suning/Application/Admin/View/Public/css/admin_style.css" />
<link rel="stylesheet" type="text/css" href="http://localhost/0423/suning/Application/Admin/View/Public/css/slide.css" />
<script src="http://localhost/0423/suning/Application/Admin/View/Public/js/jquery-1.4.4.min.js"></script>
<script src="http://localhost/0423/suning/Application/Admin/View/Public/js/iframe.js"></script>
<script src="http://localhost/0423/suning/Application/Admin/View/Public/js/slide.js"></script>
</head>
<body class="right_body">
	<div class="body">
		<div class="top_subnav">CMS内容管理平台 ＞ 幻灯片管理</div>


		<div style="clear:both"></div>
		<div class="use_meth">
			<div class="title">
				<div class="title_info light">
					幻灯片管理
				</div>
			</div>
			<div class="searchzone">
<table border="0" cellpadding="0" cellspacing="0" height="30" width="100%">
  <tbody>
  <tr>
    <td height="30"></td>
    <td colspan="2" align="right"><span class="piliang">
 
     <input onclick="" value="1" class="button" type="button"> 
     <input onclick="" value="2" class="button" type="button"> 
     <input onclick="" value="3" class="button" type="button">
     <input onclick="" value="4" class="button" type="button">
     <input onclick="" value="5" class="button" type="button">
     <input onclick="" value="6" class="button" type="button">
     <input onclick="" value="7" class="button" type="button">
     <input onclick="" value="8" class="button" type="button">
     <input onclick="" value="9" class="button" type="button">
     <input onclick="" value="10" class="button" type="button">
     <input onclick="" value="11" class="button" type="button">


    </span></td>
  </tr></tbody></table></div>

<div class="formzone">
  <div class="tablezone">
<div class="noticediv" id="notice"></div>
<form action="" method="post" class="form-inline hd-form" enctype="multipart/form-data">
<?php foreach ($slide as $k=>$v){?>
 <!-- tab切换 -->

<div class="tab">
<table align="center" border="0" cellpadding="2" cellspacing="0" width="100%">
  <tbody>
  <tr>						
    <td align="center" height="30" width="100">幻灯片<?php echo $k;?>设置</td>
    <td align="left">
    <table id="" align="center" bgcolor="#a9c5d0" border="0" cellpadding="0" cellspacing="1" width="98%">
              <tbody>
              	<tr align="center" bgcolor="#F6F6F6">
                <td height="28" width="31%">图片</td>
                <td width="69%">上传</td>
              </tr>

              <tr align="center" bgcolor="#F6F6F6">
                    <td height="28" width="31%">标签<?php echo $k;?>名称：</td>
                    <td width="69%" align="left"><input class="input" style="width:300px;margin-left:30px;" name="SOLIDE_TITLE<?php echo $k;?>[]" id="ImagePath0" value="<?php echo $v[0]['SOLIDE_TITLE'];?>" type="text"></td>
              </tr>
			<?php foreach ($slide[$k] as $key=>$val){?>
              <tr align="center" bgcolor="#FFFFFF">
            	<td class="pic"><img id="img0" src="http://localhost/0423/suning/<?php echo $val['SOLIDE_IMG_URL'];?>" height="120px" width="160px"></td>
                <td align="left"><table border="0" cellpadding="0" cellspacing="2" width="95%">                
                  <tbody>
                  	
                  <tr>
                    <td align="right" width="18%">图片地址：</td>
                    <td width="82%"><input class="input" style="width:300px" name="SOLIDE_IMG_URL<?php echo $k;?>[]" id="ImagePath0" value="<?php echo $val['SOLIDE_IMG_URL'];?>" type="text"></td>
                  </tr>
                  <tr>
                    <td align="right" width="18%">背景颜色：</td>
                    <td width="82%"><input class="input" style="width:300px" name="SOLIDE_IMG_BGCOLOR<?php echo $k;?>[]" id="ImagePath0" value="<?php echo $val['SOLIDE_IMG_BGCOLOR'];?>" type="text"></td>
                  </tr>
                  <tr>
                    <td align="right" valign="top">上传：</td>
                    <td><input type="file" height="40" width="100%" name =SOLIDE_UP_IMG_URL<?php echo $k;?>[] ></td>
                  </tr>
                  <tr>
                    <td align="right">链接地址：</td>
                    <td><input class="input" style="width:60%" name="SOLIDE_URL<?php echo $k;?>[]" value="<?php echo $val['SOLIDE_URL'];?>" type="text">空链接则填"#"</td>
                  </tr>
                  <tr>
                    <td align="right">说明文字： </td>
                    <td><input class="input" style="width:80%" name="SOLIDE_DESCRIPT<?php echo $k;?>[]" value="<?php echo $val['SOLIDE_DESCRIPT'];?>" type="text"></td>
                  </tr>
                </tbody></table></td>
              </tr>
            
              <?php }?>
             
                                      
            </tbody></table>    </td>
  </tr>

 </tbody></table>
 </div>
 <!-- tab切换 -->
 <?php }?>
 

 
</div>
<div class="adminsubmit">
<input class="button" value="保存" type="submit">
<input class="button" value="返回" onclick="history.go(-1)" type="button"> 
<input onclick="" value="刷新" class="button" type="button"> 
</div></div>
		</div>
			<p class="line">
			</p>
</form>
	</div>
</body>
</html>
